<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <base id="base" href="${basePath}">
    <title>登录</title>
    <script src="../js/base.js"></script>
    <link rel="stylesheet" type="text/css" href="../css/login.css"/>
    <script src="../js/login/login.js"></script>
</head>
<body ms-controller="root">
    <div class="headbar color_ef tc"><!--<span class="absolute l20">编辑</span>-->交易</div>
    <div class="color_ef tc f15 mt74">东港通</div>
    <div class="color_ef tc f18 mt12">投资理财&nbsp;如此简单</div>
    <div class="bgBox pic mt60"></div>
    <div class="btnBox mt68">
        <div class="bgcolor_ora color_ef br5 tc" ms-click="OpenLogin">已有账户，立即登录</div>
    </div>
    <div class="btnBox mt10">
        <div class="bgcolor_ef color_0a br5 tc" ms-click="OpenRegister">立即注册</div>
    </div>
    <!--注册弹框-->
    <div class="pop_menu" ms-visible="register" style="display: none;">
        <div class="register">
            <div class="relative f14">注册
                <div class="close absolute" ms-click="closepop"><img class="w100 h100" src="img/close_btn.png"/></div>
            </div>
            <div class="list_item">
                <input class="" type="number" oninput="if(value.length>11)value=value.slice(0,11)" id="mobile"
                       placeholder="请输入手机号" ms-duplex-string="usermobile"/>
            </div>
            <span id="span"></span>
            <div class="btnBox mt27 w100">
                <div class="bgcolor_ora color_ef br5 tc" ms-click="OpenCode">下一步</div>
            </div>
        </div>
    </div>
    <!--验证码弹框-->
    <div class="pop_menu" ms-visible="codenumber" style="display: none;">
        <div class="codenumber">
            <div class="relative f14">验证码
                <div class="close absolute" ms-click="closepop"><img class="w100 h100" src="img/close_btn.png"/></div>
            </div>
            <div class="list_item hidden">
                <div class="w66 fl">
                    <div class="code_num fl">
                        <input class="" type="number" id="msgcode" oninput="if(value.length>1)value=value.slice(0,6)"
                               placeholder="" ms-duplex-string="codenumber1"/>
                    </div>
                    <!--<div class="code_num fl">
                                <input class="" type="number" maxlength="11" placeholder="" ms-duplex-string="codenumber"/>
                            </div>
                            <div class="code_num fl">
                                <input class="" type="number" maxlength="11" placeholder="" ms-duplex-string="codenumber"/>
                            </div>
                            <div class="code_num fl">
                                <input class="" type="number" maxlength="11" placeholder="" ms-duplex-string="codenumber"/>
                     </div>-->
                </div>
                <div class="btnBox_small fl">
                    <div class="bgcolor_ora color_ef br5 tc f10">
                        <#--发送验证码-->
                        <input class="bgcolor_ora color_ef br5 tc f10" type="button" ms-click="Getcode(this)" value="发送验证码 "/>
                    </div>
                </div>
            </div>
            <div class="agree mt7 f12 mb5" ms-visible="kind==0">
                <i class="accede inline_block fl" ms-class-acceded="isaccede" ms-click="ChooseAccede"></i>阅读并同意<span
                    class="colorblue">《注册协议》</span><span class="colorblue">《风险揭示》</span><span
                    class="colorblue">《闪电下单风险说明》</span>
            </div>
            <div class="colorred f10 tl" ms-visible="codeMsg">验证码不正确</div>
            <div class="colorred f10 tl" ms-visible="shouquan">请勾选授权协议书</div>
            <div class="btnBox mt15 w100">
                <div class="bgcolor_ora color_ef br5 tc" ms-click="OpenNotice">下一步</div>
            </div>
        </div>
    </div>
    <!--声明-->
    <!--<div class="pop_menu" ms-visible="notice" style="display: none;">
        <div class="notice">
            <div class="f14 bold tc">《交易授权协议书》</div>
            <div class="notice_text f12">
                为更好地服务福建省华东大宗商品交易中心（以下简称“交易中心”）的普通授权服务机构及交易商，实现跨区域现货发售交易的便捷性和高效性，本着自愿、平等、公平、诚实、信用的原则，根据《中华人民共和国合同法》相关规定，经甲乙双方友好协商，达成如下协议：
                第一条 合作内容
                乙方成为甲方的创始授权服务机构，根据甲方的授权（详见授权委托书），乙方有权从事以下业务：
                （一）代理甲方接受普通授权服务机构加盟；
                （二）代理甲方进行交易商开发工作；
                （三）协助甲方办理交易商的入市交易手续；
                （四）为交易商提供必要的交易培训；
                （五）向甲方推荐挂牌上市企业及交易品种；
            </div>
            <div class="agree mt7 f12 mb5">
                <i class="accede inline_block fl" ms-class-acceded="isaccede" ms-click="ChooseAccede"></i>
                认真阅读并同意《交易授权协议书》
            </div>
            <div class="notice_title f10 color999">*闪电交易默认笔数为1手，可至个人中心修改</div>
            <div class="B_btnBox mt27">
                <div class="bgcolor_ora color_ef br5 tc" ms-click="OpenSetpw">确定</div>
            </div>
        </div>
    </div>-->
    <!--设置密码-->
    <div class="pop_menu" ms-visible="setpw" style="display: none;">
        <div class="setpw">
            <div class="relative f14">设置密码
                <div class="close absolute" ms-click="closepop"><img class="w100 h100" src="img/close_btn.png"/></div>
            </div>
            <div class="list_item">
                <input class="" type="password" id="psword" onchange="limitInput(this);" maxlength="12"
                       placeholder="6-12位数字、字母组合" ms-duplex-string="usermobile"/>
            </div>
            <span id="myspan2"></span>
            <div class="btnBox mt27 w100" ms-click="toChicang">
                <div class="bgcolor_ora color_ef br5 tc">{{kind==0?"立即注册":"立即登录"}}</div>
            </div>
        </div>
    </div>
    <!--登录-->
    <div class="pop_menu" ms-visible="login" style="display: none;">
        <div class="pop_menu" ms-visible="login" id="loginDiv" style="display: none;">
            <form id="login" action="login" method="post">
                <div class="login">
                    <div class="relative f14 tc">登录
                        <div class="close absolute" ms-click="closepop"><img class="w100 h100" src="img/close_btn.png"/>
                        </div>
                    </div>
                    <div class="list_item">
                        <input class="" type="number" id="loginMobile" name="mobile"
                               oninput="if(value.length>11)value=value.slice(0,11)" placeholder="请输入手机号"
                               ms-duplex-string="usermobile"/>
                    </div>
                    <span id="mobileSpan2"></span>
                    <div class="list_item">
                        <input class="" type="password" id="loginPassword" name="password"
                               oninput="if(value.length>12)value=value.slice(0,12)" placeholder="输入密码"
                               ms-duplex-string="usermobile"/>
                    </div>
                    <div class="error_title f10 colorred mt9 mb9" ms-visible="useerror">帐户名或密码错误</div>
                    <div class="btnBox mt27 w100">
                        <div class="bgcolor_ora color_ef br5 tc" ms-click="OpenNotice" id="loginS">下一步</div>
                    </div>
                    <div class="error_title f10 color_ef mt15" ms-click="forgetpass">忘记密码？</div>
                </div>
            </form>
        </div>
    </div>
    <div ms-include-src="'../fragment/footer.html'"></div>
</body>
</html>